package 练习;

import java.util.Arrays;
import java.util.List;

public class t6 {
    public static void main(String[] args) {
        Integer[] a = new Integer[]{1,2,3,4};
        List<Integer> aa = Arrays.asList(a);
        aa.add(1);
        Integer[] b = aa.toArray(new Integer[0]);
        System.out.println(Arrays.toString(b));

    }
}
